package com.PuzGame.combinenumbers;

import java.math.BigInteger;

import android.graphics.Bitmap;

import com.PuzGame.combinenumbers.Interfaces.IItemWithDifficultyLevel;
import com.PuzGame.combinenumbers.Interfaces.IItemWithName;



public class ChallengeMetaDataItem implements IItemWithDifficultyLevel, IItemWithName{
	
	private long Id = 0;
	private BigInteger ChallengerId= new BigInteger("0");
	
	private String ImagePath="";
	private int DifficultyLevel=1;
	private String Name="";
	private Bitmap bmp = null;
	

	public ChallengeMetaDataItem() {
		
	}
	
	public String getImagePath() {
		return ImagePath;
	}

	public void setImagePath(String imagePath) {
		ImagePath = imagePath;
	}
	public BigInteger getChallengerId() {
		return ChallengerId;
	}

	public void setChallengerId(String IdString) {
		this.ChallengerId = new BigInteger(IdString);
	}
	
	public void setChallengerId(BigInteger senderUserId) {
		this.ChallengerId = new BigInteger(senderUserId.toString());
		
	}
	
	public long getId() {
		return Id;
	}

	public void setId(long iD) {
		Id = iD;
	}

	public int GetDifficultyLevel() {
		return DifficultyLevel;
	}

	public void setDifficultyLevel(int difficultyLevel) {
		DifficultyLevel = difficultyLevel;
	}

	public String GetName() {
		return Name;
	}

	public void setName(String name) {
		Name = name;
	}
	
	public Bitmap getBitmap() {
		// TODO Auto-generated method stub
		return bmp;
	}
	
	public void setBitmap(Bitmap bmp) {
		// TODO Auto-generated method stub
		this.bmp = bmp;
	}


		
	public boolean equals(Object obj) {
	       
		if (obj==null || !(obj instanceof ChallengeMetaDataItem))
	            return false;
		return((ChallengeMetaDataItem)obj).Id == (this.Id);    
	    }

	




}
